package Leo.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService(name = "demoWebservice", targetNamespace = "http://webservice.Leo/")// 命名空间,一般是接口的包名倒序)
public interface DemoWebservice {
    // http://127.0.0.1:8080/spring/webServices/demoWs?wsdl
    @WebMethod
//    public String sayHello() throws Exception;
    public String sayHello(@WebParam(name = "param") String param) throws Exception;
    @WebMethod
    public String sayYes() throws Exception;

    @WebMethod
    public String sayObject(@WebParam(name = "param")Object object) ;

    @WebMethod
    public String callHis(@WebParam(name = "className")String className,@WebParam(name = "method")String method,@WebParam(name = "param")String param) ;
}
